﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Core.DataAccess;

namespace Core.BusinessLogic.Interfaces
{
    public interface ISchoolService
    {
        void SaveSchool(School school);
        void SaveAccountSchool(AccountSchool accSch);
        List<School> GetSchoolsByAccountID(Int32 accountID);
        School GetSchoolBySchoolID(Int32 schoolID);
        School GetSchoolBySchoolName(string schoolName);
        List<AccountSchool> GetAccountSchoolListByUsername(string username);
        List<AccountSchool> GetAccountSchoolListByAccountID(Int32 accountID);
        List<Account> GetAllFriendsSchoolByAccountID(int accountID,string schoolName);
        int UpdateSchoolInfo(int accountID, School school);
        int UpdateAccountSchoolInfo(int accountID, AccountSchool accSchool,int schoolID);
    }
}
